package com.xinqi.modules.databank.v1.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinqi.common.mybatis.data.entity.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * 互动课件,互动视频答题提交记录表实体层
 *
 * @author: system
 * @date: 2023/03/15
 */
@Setter
@Getter
@TableName("co_course_interaction_submit")
public class CourseInteractionSubmitEntity extends BaseEntity {
    /** 所属课程栏目 */
    @TableField(value = "content_id")
    private Long contentId;
    /** 用户id */
    @TableField(value = "user_id")
    private Long userId;
    /** 互动环节或课件切片id */
    @TableField(value = "resource_part_id")
    private Long resourcePartId;
    /** 题目id */
    @TableField(value = "question_id")
    private Long questionId;
    /** 1:判断题,2：单选题,3：多选题,4：不定项题,5：填空题,6：简答题 */
    @TableField(value = "type")
    private Integer type;
    /** 题目 */
    @TableField(value = "question")
    private String question;
    /** 题目文件 */
    @TableField(value = "question_file")
    private String questionFile;
    /** 答案 */
    @TableField(value = "answer")
    private String answer;
    /** 答案文件 */
    @TableField(value = "answer_file")
    private String answerFile;
    /** 选项设置 */
    @TableField(value = "options")
    private String options;
    /** 分值 */
    @TableField(value = "score")
    private BigDecimal score;
    /** 答案解析 */
    @TableField(value = "analysis")
    private String analysis;
    /** 答案解析文件 */
    @TableField(value = "analysis_file")
    private String analysisFile;
    /** 用户答案 */
    @TableField(value = "student_answer")
    private String studentAnswer;
    /** 用户答案文件 */
    @TableField(value = "student_answer_file")
    private String studentAnswerFile;
    /** 答案备注 */
    @TableField(value = "answer_remark")
    private String answerRemark;
    /** 学生分值 */
    @TableField(value = "student_score")
    private BigDecimal studentScore;
    /** 0未作答，1已答题 */
    @TableField(value = "is_reply")
    private Integer isReply;
    /** 答题是否正确 */
    @TableField(value = "is_right")
    private Integer isRight;
    /** 排序 */
    @TableField(value = "sort")
    private Integer sort;
}
